package com.xyrl.project.common.news.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.xyrl.project.common.news.entity.News;
import com.xyrl.project.common.news.enums.NewtTypeEnum;
import org.springframework.cache.annotation.Cacheable;


/**
 * @className NewsService.java
 * @company 重庆星纭融链科技公司
 * @author 徐恩源
 * @version 1.0
 * @date 2019-12-26 10:40:07
 * @Description 新闻资讯service
 */
public interface NewsService extends IService<News> {


    /**
     * 根据新闻资讯类型查询
     * @author 徐恩源
     * @date 2019-12-26 15:47:16
     * @param newtTypeEnum
     */
     News queryNewsByType(NewtTypeEnum newtTypeEnum);
}
